//
//  NewMapModel.m
//  Shengzhuli
//
//  Created by FXGuo on 2018/2/1.
//  Copyright © 2018年 kamangkeji. All rights reserved.
//

#import "NewMapModel.h"

@implementation NewMapModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.ID = dict[@"id"];
        self.latitude = [dict[@"latitude"] floatValue];
        self.longitude = [dict[@"longitude"] floatValue];
        self.clubName =  dict[@"clubName"];
        self.address = dict[@"address"];
        self.clubLogo = dict[@"clubLogo"];
        self.clubType = [dict[@"clubType"] integerValue];
        self.applyCount = dict[@"applyCount"];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[NewMapModel alloc]initWithDict:dict];
}

@end
